#include <stdio.h>
#include <stddef.h>
struct s1 {
	char c1;
	char c2;
	int num;
};

struct s2 {
	char c2;
	int num;
	char c1;
};

int main()
{
	struct s2 a;
	printf("%d\n", (int)sizeof(a));
	printf("%d\n", (int)offsetof(struct s2, c2));
	printf("%d\n", (int)offsetof(struct s2, num));
	printf("%d\n", (int)offsetof(struct s2, c1));
	return 0;
}